//
//  ChildSelectCollectionCell.m
//  iBaby365v2
//
//  Created by Kirinrin on 14/12/19.
//  Copyright (c) 2014年 suplus. All rights reserved.
//

#import "ChildSelectCollectionCell.h"

@interface ChildSelectCollectionCell()
@property(nonatomic)UIImageView *selectedView;
@end

@implementation ChildSelectCollectionCell

-(void)setSelected:(BOOL)selected{
    [super setSelected:selected];
    if (selected) {
        [self addSubview:self.selectedView];
    }else{
        [self.selectedView removeFromSuperview];
    }
    
}


-(UIImageView *)selectedView{
    if (!_selectedView) {
        _selectedView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"签到标记"]];
        _selectedView.frame = CGRectMake(49, 50, 24, 24);
    }
    return _selectedView;
}
@end
